package com.geek.novel.listener

import android.view.View
import android.widget.TextView
import com.geek.novel.R
import com.geek.novel.dialog.MenuListDialog

class MenuItemInflaterViewListener: MenuListDialog.InflaterViewListener {
    override fun inflaterItemView(view: View, item: MenuListDialog.MenuItem) {
        val menuItemName = view.findViewById<TextView>(R.id.tv_dialog_menu_item_text)
        menuItemName.text = item.name
    }
}